package Extends01;/*


1111



*/

public class Test {
    public static void main(String[] args) {
        Fighter fighter = new Fighter("战斗", "歼十");
        fighter.takeoff();
        fighter.takedown();
        fighter.fight();

        PassengerAircraft passengerAircraft = new PassengerAircraft("小龙", "空运");
        passengerAircraft.takeoff();
        passengerAircraft.takedown();
        passengerAircraft.transport();//运输


    }

}
